# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Darwin M. Bautista <djclue917@gmail.com>

pkgname=ttf-sazanami
pkgver=20040629
pkgrel=11
pkgdesc='Japanese fonts'
url='http://wiki.fdiary.net/font/?sazanami'
license=('custom:BSD')
arch=('any')
source=("https://osdn.dl.sourceforge.jp/efont/10087/sazanami-${pkgver}.tar.bz2")
sha256sums=('3467ce2f70a9a3fbbf8d4d97355a2f334a6351baa6722251403637a8cbebf6b7')

package() {
	cd "${srcdir}/sazanami-${pkgver}"
	install -d "${pkgdir}"/usr/share/{fonts/TTF,licenses/"${pkgname}"}
	install *.ttf "${pkgdir}/usr/share/fonts/TTF"
	iconv -f EUC-JP -t UTF-8 README > "${pkgdir}/usr/share/licenses/${pkgname}/README"
}
